package com.lizhenhua.api.follback;

import com.lizhenhua.api.feignClient.OrderSaveFeignClient;
import com.lizhenhua.fmmall.beans.Orders;
import com.lizhenhua.fmmall.beans.ShoppingCartVo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class OrderSaveFollBack implements OrderSaveFeignClient {


    @Override
    public List<ShoppingCartVo> saveOrder(String cids, Orders orders) {
        System.out.println("-------------orderAdd 执行了降级服务");
        return null;
    }
}
